package com.iweb.work;

import com.iweb.test.car;//导包，引用test中的car包
public class work2 {
    public static void main(String[] args) {
        car c=new car();
        c.color="黄";
        c.price=20000;
        c.type="豪华品牌车";
        System.out.println("颜色:"+c.color+"\t"+"品牌:"+c.type+"\t"+"价格:"+c.price+"\t");
        c.star();
        c.stop();
    }

}
